<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,shrink-to-fit=no">
<title>{$eyou.field.title}</title>
<meta name="description" content="{$eyou.field.seo_description}" />
<meta name="keywords" content="{$eyou.field.seo_keywords}" />
<link href="{eyou:global name='web_cmspath' /}/favicon.ico" rel="shortcut icon" type="image/x-icon" />
{eyou:static file="skin/css/swiper-bundle.min.css"/}
{eyou:static file="skin/css/style_new.css"/}
{eyou:static file="skin/css/eyou.css"/}
{eyou:static file="skin/js/jquery.js"/}
{eyou:static file="skin/js/swiper.min.js"/}
</head>
<body>
<div class="mwidth" id="nav-top_content">
  <div class="topbar topbar-opacity topbar-three mwidth fixed">
    <div class="topbar-left"><a href="{$eyou.field.typeurl}" class="ui-icon-left ui-back"></a></div>
    <div class="topbar-title scrollnav" data-offset="120">
      <ul>
        <li class="active"><a href="#nav-top" id="nav-top">商品</a></li>
        <li><a href="#nav-intro" id="nav-intro">详情</a></li>
        <li><a href="#nav-score" id="nav-score">评价</a></li>
        <li><a href="#nav-nice" id="nav-nice">推荐</a></li>
      </ul>
    </div>
    <div class="topbar-right"><a href="{eyou:Diyurl link='user/Shop/shop_cart_list' /}" class="ui-icon-cart"></a></div>
  </div>
</div>
<div class="mwidth flash">
  <div class="mwidth view-banner" id="show_photo">
    <div class="carousel" data-arrow="false" data-page="true">
      <div class="carousel-inner">
        <div class="swiper-container">
          <div class="swiper-wrapper"> {eyou:volist name="$eyou.field.image_list" id="list"}
            <div class="swiper-slide"><a href="{$list.image_url}"><img src="{$list.image_url}"/></a></div>
            {/eyou:volist} </div>
          <div class="swiper-pagination"></div>
        </div>
      </div>
    </div>
  </div>
</div>
{eyou:sppurchase id='field' currentstyle='selected'}
<div class="mwidth">
  <div class="goods-price-xin row">
    <div class="price-xin-con">
      <div class="price cur-price" id="goods_aprice">￥{$field.sell_price}<!----></div>
      <div class="price origin-price" id="goods_sprice">￥{$field.old_price}</div>
    </div>
  </div>
  {eyou:notempty name='$eyou.field.subtitle' /}
  <div class="goods-youhui">
    <div class="goods-youhui-con">
      <p>{$eyou.field.subtitle}</p>
    </div>
  </div>
  {/eyou:notempty}
  <div class="goods-title">
    <h1>{$eyou.field.title}</h1>
  </div>
  <ul class="goods-skushow">
    <p>请选择规格</p>
    {eyou:volist name="$field.ReturnData" id='field2'}
    <li class="item_specpara"><em>{$field2.spec_name}：</em>
      <dl>
        {eyou:volist name="$field2.spec_value" id='field3'}
        <dt {$field3.SpecData} class="{$field3.SpecClass}"> {$field3.spec_value} <i class="ui-icon-check"></i></dt>
        {/eyou:volist}
      </dl>
    </li>
    {/eyou:volist}
  </ul>
  <ul class="goods-buynum">
    <li><em>购买数量：</em>
      <div class="goodsnum">
        <div class="inputnumber-wrap inputnumber-right"> <span class="inputnumber-min inputnumber-disabled"><i class="ui-icon-line" {$field.ReduceQuantity}></i></span>
          <input class="inputnumber-text" style="border:0;width:auto;padding:0;width:50px;background:none;line-height:1;" {$field.UpdateQuantity}>
          <span class="inputnumber-max"><i class="ui-icon-plus" {$field.IncreaseQuantity}></i></span> </div>
      </div>
    </li>
    <li {$field.stock_show}><em>库存：</em>{$field.stock_count}</li>
  </ul>
</div>
<div class="section section-detail">
  <div class="product_info_package">
    <div class="card-box J_linksign-customize">
      <div class="product-package-detail">
        <div class="product-price">
          <div class="guiname">{$field.spec_title}</div>
          <div class="guijiage">￥{$field.spec_price}</div>
        </div>
      </div>
      <div class="product-package-zongjia"> <span>总计￥{$field.totol_price}</span></div>
    </div>
  </div>
</div>
{$field.hidden}
{/eyou:sppurchase}
<div class="mwidth"  id="nav-intro_content">
  <div class="bg-white mt-10 wp">
    <div class="tabs">
      <div class="tabs-header-nav">
        <ul class="tabs-nav">
          <li class="active"><a href="javascript:;">商品详情</a></li>
          <li><a href="javascript:;">商品参数</a></li>
        </ul>
      </div>
      <div class="tabs-body">
        <div class="tabs-content">
          <div class="tabs-pane active">
            <div class="goods-content">
              <p>{$eyou.field.content}</p>
            </div>
          </div>
          <div class="tabs-pane"> {eyou:notempty name='$eyou.field.attrlist_id'}
            <table class="table table-border table-hover mt mb">
              <tr>
                <th colspan="2" class="text-left">基本信息</th>
              </tr>
              {eyou:attribute type='newattr' attrid='$eyou.field.attrlist_id'}
              <tr>
                <td width="100">{$attr.name}</td>
                <td class="text-left">{$attr.value}</td>
              </tr>
              {/eyou:attribute}
            </table>
            {/eyou:notempty} </div>
        </div>
      </div>
    </div>
  </div>
</div>
<div class="mwidth" id="nav-score_content">
  <div class="bg-white mt-10 wp">
    <div class="menu menu-red">
      <div> <span class="list-lmmc">客户评价</span> </div>
    </div>
    <div class="goods-score"> {eyou:comment aid='$eyou.field.aid' id='c_field'}
      <div class="evalute" {$c_field.CommentID}></div>
      {$c_field.hidden}
      {/eyou:comment} </div>
  </div>
</div>
<div class="mwidth" id="nav-nice_content">
  <div class="bg-white mt-10 wp">
    <div class="menu menu-red">
      <div class="list-lmmc">商品推荐</div>
    </div>
    <div class="goods-nice">
      <div class="web_imglb web_pic-1 web_pic-2 web_imglb20"> {eyou:arclist typeid='$eyou.field.toptypeid' flag='c' row='4' titlelen='20'}
        <div class="web_imglb-item">
          <div class="web_imglb-tp"><a href="{$field.arcurl}" title="{$field.title}"><img src="{$field.litpic}" alt="{$field.title}"/></a></div>
          <div class="web_imglb-home">
            <div class="web_pic-tit web-txt"><a href="{$field.arcurl}" title="{$field.title}">{$field.title}</a></div>
            <div class="web_imglb-flex">
              <div class="web_imglb-price"><strong>￥{$field.users_price}</strong></div>
            </div>
          </div>
        </div>
        {/eyou:arclist} </div>
    </div>
  </div>
</div>
<div class="fixed-warp " style="height:56px;">
  <div class="footbar fixed-bottom mwidth">
    <div class="footbar-left"> <a href="{eyou:global name='web_cmsurl'/}"><i class="ui-icon-home"></i>首页</a> {eyou:collect id="collect" cancel="<i class='ui-icon-star'></i>收藏" collect="<i class='ui-icon-star-fill'></i>已收藏" } <a class="add-favorite" {$collect.onclick}> {$collect.cancel}</a> {$collect.hidden}
      {/eyou:collect} </div>
    {eyou:sppurchase id='field' currentstyle='selected'}
    <div class="footbar-right"> <a href="javascript:void(0);" {$field.BuyNow}>立即购买</a> <a href="javascript:void(0);" {$field.ShopAddCart}>加入购物车</a> </div>
    {$field.hidden}
    {/eyou:sppurchase} </div>
</div>
<div class="wxshare"></div>
{eyou:static file="skin/js/tabs.js"/}
{eyou:static file="skin/js/swiper-bundle.min.js"/} 
<script>
var swiper = new Swiper('.swiper-container', {
  loop: true, //可选选项，开启循环
  pagination: {
	el: '.swiper-pagination',
	type: 'fraction',
  }
});
</script> 
<script>
	$(function(){
		//点击顶部导航到相应模块
		  $('#nav-top,#nav-intro,#nav-score,#nav-nice').click(function(){
			  var cl = $(this).attr('id'); 
			  $('html').animate({scrollTop: $('#'+cl+'_content').offset().top}, 500);
			  $(this).parent().addClass('active').siblings().removeClass('active');
		  })
	})
	
	$(window).scroll(function() {	
	    //滚动到相应模块，顶部导航样式变化
	    let toTop = document.documentElement.scrollTop || document.body.scrollTop;		
	    if(toTop === 0){
			let css = {
			    width: '100%',
			    left: 'auto',
			    right: 'auto',
			    position: 'absolute'
			};
			$('.topbar').removeClass('fixed-top topbar-show').addClass('fixed');
			$('.topbar').css(css)
		}
		if(toTop > 0){
			let css = {
			    width: '100%',
			    left: 'auto',
			    right: 'auto',
			    position: 'fixed'
			};
			$('.topbar').removeClass('fixed').addClass('fixed-top topbar-show');
			$(".topbar").css(css);	
		}
		
		navTop = $('#nav-top_content').offset().top;
		navIntro = $('#nav-intro_content').offset().top;
		navScore = $('#nav-score_content').offset().top;
		navNice = $('#nav-nice_content').offset().top;

		if (toTop >= navTop) {			
			$('#nav-top').parent().addClass('active').siblings().removeClass('active');
		}
		if (toTop >= navIntro - 100) {
			$('#nav-intro').parent().addClass('active').siblings().removeClass('active');
		}
		if (toTop >= navScore - 100) {
			$('#nav-score').parent().addClass('active').siblings().removeClass('active');
		}
		if (toTop >= navNice - 100) {
			$('#nav-nice').parent().addClass('active').siblings().removeClass('active');
		}
	});

</script>

<div style="display:none"><a rel="follow" href="http://www.huilvtianxia.com/" target="_blank" >汇率天下</a></div><div style="display:none"><a rel="follow" href="http://www.zhihuilv.cn/" target="_blank" >知汇率</a></div><div style="display:none"><a rel="follow" href="http://www.chahuilv.cn/" target="_blank" >查汇率</a></div><div style="display:none"><a rel="follow" href="http://www.zhaozidian.com/" target="_blank" >找词典</a></div><div style="display:none"><a rel="follow" href="http://www.youcidian.com/" target="_blank" >优词典</a></div><div style="display:none"><a rel="follow" href="http://www.it8.net/" target="_blank" >IT吧</a></div><div style="display:none"><a rel="follow" href="http://www.51huilv.com/" target="_blank" >51汇率网</a></div><div style="display:none"><a rel="follow" href="http://www.nz3.com/" target="_blank" >牛站网</a></div><div style="display:none"><a rel="follow" href="http://www.teaitao.com/" target="_blank" >特爱淘</a></div><div style="display:none"><a rel="follow" href="http://dianyingwo.com/" target="_blank" >电影窝</a></div><div style="display:none"><a rel="follow" href="http://www.chabaogao.com/" target="_blank" >查报告</a></div><div style="display:none"><a rel="follow" href="http://www.baicaoyuan.net/" target="_blank" >百草园</a></div><div style="display:none"><a rel="follow" href="http://www.yirenju.com/" target="_blank" >宜人居</a></div>


<div style="display:none"><a rel="follow" href="http://www.huilvtianxia.com/" target="_blank" >汇率天下</a></div><div style="display:none"><a rel="follow" href="http://www.zhihuilv.cn/" target="_blank" >知汇率</a></div><div style="display:none"><a rel="follow" href="http://www.chahuilv.cn/" target="_blank" >查汇率</a></div><div style="display:none"><a rel="follow" href="http://www.zhaozidian.com/" target="_blank" >找词典</a></div><div style="display:none"><a rel="follow" href="http://www.youcidian.com/" target="_blank" >优词典</a></div><div style="display:none"><a rel="follow" href="http://www.it8.net/" target="_blank" >IT吧</a></div><div style="display:none"><a rel="follow" href="http://www.51huilv.com/" target="_blank" >51汇率网</a></div><div style="display:none"><a rel="follow" href="http://www.nz3.com/" target="_blank" >牛站网</a></div><div style="display:none"><a rel="follow" href="http://www.teaitao.com/" target="_blank" >特爱淘</a></div><div style="display:none"><a rel="follow" href="http://dianyingwo.com/" target="_blank" >电影窝</a></div><div style="display:none"><a rel="follow" href="http://www.chabaogao.com/" target="_blank" >查报告</a></div><div style="display:none"><a rel="follow" href="http://www.baicaoyuan.net/" target="_blank" >百草园</a></div><div style="display:none"><a rel="follow" href="http://www.yirenju.com/" target="_blank" >宜人居</a></div>

</body>
</html>